package com.wlc.controller;

import com.wlc.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author 王立朝
 * @description 测试
 * @date 2021-11-15 08:13:14
 */
@RestController
public class MyController {

    @Resource
    private UserDao userDao;
    @GetMapping("/test")
    public void test(){
        System.out.println("MyController test..."+userDao.getName());
    }

}
